package communication.common;

import game.map.Static;

public class LoggedPlayer {

	private long id;
	private String name;
	private int hp;
	private boolean ready;
	private int color;
	
	public LoggedPlayer(long id, String name, int hp) {
		this.id = id;
		this.name = name;
		this.hp = hp;
		this.ready = false;
		this.color = Static.WHITE;
	}

	public long getId() {
		return id;
	}
	
	public void setId(long id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getHp() {
		return hp;
	}

	public void setHp(int hp) {
		this.hp = hp;
	}

	public boolean isReady() {
		return ready;
	}

	public void setReady(boolean ready) {
		this.ready = ready;
	}

	public int getColor() {
		return color;
	}

	public void setColor(int color) {
		this.color = color;
	}
	
	
}
